package cn.itcast.travel.domain;

public class Order {
    private  int id;
    private Route route;
    private String time;
    private String ispay;
    private String out_trade_no;
    private User user;

    public Order() {
    }

    public Order(int id, Route route, String time, String ispay, String out_trade_no, User user) {
        this.id = id;
        this.route = route;
        this.time = time;
        this.ispay = ispay;
        this.out_trade_no = out_trade_no;
        this.user = user;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Route getRoute() {
        return route;
    }

    public void setRoute(Route route) {
        this.route = route;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getIspay() {
        return ispay;
    }

    public void setIspay(String ispay) {
        this.ispay = ispay;
    }

    public String getOut_trade_no() {
        return out_trade_no;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
